package com.itbour.dao.authority;


import java.util.List;
import java.util.Map;
import com.itbour.dto.authority.BackFuncDto;
import com.itbour.dto.authority.RoleDto;
import com.itbour.dto.authority.RoleFuncDto;



public interface RoleInfoDao {
	
	public void addRoleInfo(Map<String, Object> parm);
	
	public List<RoleDto> pageListRoleInfo(Map<String, Object> parm);
	
	public void updRoleInfo(Map<String, Object> parm);
	
	public int getRoleInfoCnt(Map<String, Object> parm);
	
	public List<RoleDto> selectOneRoleInfo(Map<String, Object> parm);
	
	public void delRoleInfo(Map<String, Object> parm);//删除角色
	
	public void sureEmpower(Map<String, Object> parm);//确认授权
	
	public void delRolePower(Map<String, Object> parm);//删除角色之前的所有授权
	
	public List<BackFuncDto> listPowerFunc(Map<String, Object> parm);//获取授权页信息
	
	public List<RoleFuncDto> getFatherFunc(Map<String, Object> parm);//获取父类 下 功能信息
	
	public List<RoleFuncDto> getTopInfo(Map<String, Object> parm);//获取父类的信息
	
	public String getAllFuncId(Map<String, Object> parm);// 获取指定分类的  功能ID
	
}
